var gulp = require('gulp');
var less = require('gulp-less');
var plumber = require('gulp-plumber');

var paths = {
  less: ['./src/static/css/*.less']
};
gulp.task('less', function () {
  return gulp.src(paths.less)
    .pipe(plumber())
    .pipe(less())
    .pipe(gulp.dest('./src/static/css'));
});

gulp.task('watch', function() {
  gulp.watch(paths.less, ['less']);
})
